package com.ybzl.gateway.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class DeviceInfo{
    private String tagId;
    private Integer tagPower;
    private String beacon1;
    private Integer beaconRssi1;
    private String beacon2;
    private Integer beaconRssi2;
    private String beacon3;
    private Integer beaconRssi3;
    private String ip;

    private Long ts;
    private String exId;
    private Integer type;
    private Integer rssi;

    public DeviceInfo(Long ts,String tagId, String ip, String exId, Integer type,Integer rssi) {
        this.tagId = tagId;
        this.ip = ip;
        this.ts = ts;
        this.exId = exId;
        this.type = type;
        this.rssi = rssi;
    }

    public DeviceInfo(Long ts,String tagId, String exId, Integer type) {
        this.tagId = tagId;
        this.ts = ts;
        this.exId = exId;
        this.type = type;
    }
}
